﻿//=====================================================
// Copyright © 2017-2018 xuxuzhaozhao
// All rights reserved
// GUID: 3669a4fc-fab2-41e5-af1e-2acf40122b04
// CLR版本: 4.0.30319.42000
// 命名空间名称: xuxuzhaozhao.Blog.Domain
// 文件名: XuComment
// 当前系统时间: 2017/11/6 17:01:04
// 当前登录用户名: xuxuzhaozhao
//======================================================

using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace xuxuzhaozhao.Blog.Domain
{
    [Table("XuComment")]
    public class XuComment
    {
        public int Id { get; set; }
        public int ArticleId { get; set; }
        public string Commenter { get; set; }
        public string CommenterEmail { get; set; }
        [Required]
        public string Content { get; set; }
        public DateTime CreationTime { get; set; } = DateTime.Now;
    }
}
